﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NextInventory.Model.Inventory;

namespace NextInventory.Business.EntityRepositories
{
    public interface IProductRepository : IBaseRepository
    {
        #region Product

        ProductsModel GetProductByID(int Id);
        List<ProductsModel> SearchProducts();
        List<ProductsModel> GetProductsByModelID(int Id);

        bool AddProduct(ProductsModel model);
        bool UpdateProduct(ProductsModel model);
        bool DeleteProduct(int Id);

        #endregion Product
    }

    public class ProductRepository : BaseRepository, IProductRepository
    {
        #region Product

        ProductsModel IProductRepository.GetProductByID(int Id)
        {
            throw new NotImplementedException();
        }

        List<ProductsModel> IProductRepository.SearchProducts()
        {
            throw new NotImplementedException();
        }

        List<ProductsModel> IProductRepository.GetProductsByModelID(int Id)
        {
            throw new NotImplementedException();
        }

        public bool AddProduct(ProductsModel model)
        {
            throw new NotImplementedException();
        }

        public bool DeleteProduct(int Id)
        {
            throw new NotImplementedException();
        }

        public bool UpdateProduct(ProductsModel model)
        {
            throw new NotImplementedException();
        }

        #endregion Product

    }
}
